var current_menu=-1;
isFrames = false;
browser = (navigator.appName);
IE4 = (document.all);
NS4 = (document.layers);
			fntCol = "#FFFFFF";
			fntBold = false;
			fntItal = false;
			backCol = "#404040";
			overCol = "#DAAF00";
			overFnt = "#000000";
			fntSiz = 8;
			fntFam = "arial";
			menuWidth = 120;
			borWid = 0;
			borCol = "#404040";
			borSty = "solid";
			itemPad = 3;
			separator = 0;
			separatorCol = "#404040";
			imgSrc = "/calendario/media/menu-arrow.gif";
			imgSiz = 9;

			childOffset = 5;
			childOverlap = 25;
			perCentOver = null;

			secondsVisible = .5;

			isFrames = false;
			navFrLoc = "left";
			mainFrName = "main";

			menuVersion = 3;
			clickStart = false;
			clickKill = false;

			keepHilite = true;

			NSfontOver = true;
			showVisited = "#666666";
			

function getParams() {
	var idx = document.URL.indexOf('?');
	var params = new Array();
	if (idx != -1) {
		var pairs = document.URL.substring(idx+1, document.URL.length).split('&');
		for (var i=0; i<pairs.length; i++) {
			nameVal = pairs[i].split('=');
			params[nameVal[0]] = nameVal[1];
   	}
	}
	return params;
}

function gotosite(site) {
	if (site != "") {
		self.location=site;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function gopage(gopage) {
	window.location=gopage
}

function gotoUrl(label,url) {
	location = url;
}

function openWin1(value) {
	var n=open(value,'blindersopen','width=745,height=600,menubar=no,scrollbars=yes,resizable=no');
}

function openWin2(value) {
	var n=open(value,'blindersopen','width=780,height=500,menubar=no,scrollbars=yes,resizable=no');
}

function openWin_real(value) {
	var n=open(value,'blindersopen','width=210,height=210,menubar=no,scrollbars=no,resizable=no');
}

// preloads images for rollovers
// imagename = blue background; imagename + a = light grey background;  imagename + b = dark grey background;
function preloadImages() {
	menu_array = new Array("nav_products1", "nav_services2", "nav_education3", "nav_alliances4" , "nav_news5");
	for (i in menu_array) {
		eval(menu_array[i]+'=new Image');
		eval(menu_array[i]+'.src="/images/"+menu_array[i]+".gif"');
		eval(menu_array[i]+'on=new Image');
		eval(menu_array[i]+'on.src="/images/"+menu_array[i]+"b.gif"');
	}
}

// to create rollover for the image buttons

function rollOver(which) {
	//if (document.images)	{
	//		if (current_menu!=-1){
	//		eval('document.images[current_menu].src='+current_menu+'.src');
	//		eval('document.images[which].src='+which+'on.src');
	//		current_menu = which;
	//		}
	//		else{
	//		eval('document.images[which].src='+which+'on.src');
	//		current_menu = which;
	//		}
	//}
}

function rollOut() {
	if (document.images) {
		if (isOverMenu){
			return;
		}
		 else if (current_menu!=-1){
			eval('document.images[current_menu].src='+current_menu+'.src');}
	}
}

function mouseon(name,number){
	document.images[name].src = picon[number];
}

function mouseoff(name,number){
	document.images[name].src = picoff[number];
}

function MM_swapImgRestore() { //v3.0
	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
	